.Net Framework > v2.0.50727 > System > Windows > Forms > DataGridViewCell > MeasureTextHeight MeasureTextHeight(Graphics,String,Font,Int32,TextFormatFlags)
MeasureTextHeight(Graphics,String,Font,Int32,TextFormatFlags,Boolean@)


MeasureTextHeight(Graphics,String,Font,Int32,TextFormatFlags)

Category
Method
Description
Gets the height, in pixels, of the specified text, given the specified characteristics.
Type
Int32
Character
public, static
Parameters
NameTypeDescription
graphicsGraphics
textString
fontFont
maxWidthInt32
flagsTextFormatFlags
Attributes
NameValue/Assignment
EditorBrowsableAttributeSystem.ComponentModel.EditorBrowsableState.Advanced
Tags
01892ABD01, 02E3ABA98D, 0376596F91

MeasureTextHeight(Graphics,String,Font,Int32,TextFormatFlags,Boolean@)

Category
Method
Description
Gets the height, in pixels, of the specified text, given the specified characteristics. Also indicates whether the required width is greater than the specified maximum width.
Type
Int32
Character
public, static
Parameters
NameTypeDescription
graphicsGraphics
textString
fontFont
maxWidthInt32
flagsTextFormatFlags
widthTruncatedBoolean
Attributes
NameValue/Assignment
EditorBrowsableAttributeSystem.ComponentModel.EditorBrowsableState.Advanced
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database